﻿
IF  EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[sproc_CM_GetLinkmanByID]') AND type in (N'P', N'PC'))
    DROP PROCEDURE [dbo].[sproc_CM_GetLinkmanByID];
GO
CREATE PROCEDURE [dbo].[sproc_CM_GetLinkmanByID]
@LinkmanID nvarchar(100)

AS

    exec( 'SELECT * FROM UDS_CM_Linkman WHERE ID in (' + @LinkmanID + ')' )